﻿using LJX.SmartPark.Common.ResponseOutput;
using LJX.SmartPark.Domain.SysManage;
using LJX.SmartPark.Service.SysManage;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using static LJX.SmartPark.Service.SysManage.CategorySrevice;

namespace LJX.SmartPark.WebApi.Controllers.SysManage
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    [ApiExplorerSettings(GroupName = "SysManage")]
    public class ParameterSettingController : ControllerBase
    {
        private readonly IParameterSettingService _ParameterSettingService;
        public ParameterSettingController(IParameterSettingService ParameterSettingService)
        {
            _ParameterSettingService = ParameterSettingService;
        }
        /// <summary>
        /// 显示
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        [HttpPost]
        public Response<List<ParameterSetting>> GetParameterSettingPage()
        {
            var result =  _ParameterSettingService.GetParameterSettingPage();
            return result.Result;
        }
    }
}
